package com.rightsidetech.trade.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * td_commodity_order_details
 * @author 
 */
public class TdCommodityOrderDetails implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 商品id
     */
    private Long commodityId;

    /**
     * 商品名称
     */
    private String commodityName;

    /**
     * 商品价格-单件价格
     */
    private BigDecimal commodityPrice;

    /**
     * 商品数量
     */
    private Integer commodityNum;

    /**
     * 商品条码
     */
    private String commodityBarCode;

    /**
     * 商品规格
     */
    private String commoditySpecs;

    /**
     * 商品父级id, 默认为0, 0-主商品
     */
    private Long parentId;

    /**
     * 规格图片/封面图
     */
    private String picture;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 划线价
     */
    private BigDecimal underlinedPrice;

    /**
     * 分类id
     */
    private Long typeId;

    /**
     * 分类名称
     */
    private String typeName;

    /**
     * 品牌id
     */
    private Long brandId;

    /**
     * 品牌名称
     */
    private String brandName;

    /**
     * 商品标签, 0-商品, 1-赠品, 2-超值换购
     */
    private Byte commodityTag;

    /**
     * 购买方式, 0-直接买新, 1-以旧换新
     */
    private Byte buyType;

    /**
     * 商品编码
     */
    private String code;

    /**
     * 订单状态,  0-待付款,1-已支付(用户)/待接单,  2-已支付(用户)/已完成, 3-待接单售后申请，4-售后申请, 5-已退款, -1-取消订单
     */
    private Byte orderStatus;

    /**
     * 创建时间-下单时间
     */
    private Date createdAt;

    /**
     * 修改时间
     */
    private Date updatedAt;

    /**
     * 赠品类型 0-邮寄 1-到店
     */
    private Byte giftType;

    /**
     * 物流单号
     */
    private String trackNo;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Long commodityId) {
        this.commodityId = commodityId;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public BigDecimal getCommodityPrice() {
        return commodityPrice;
    }

    public void setCommodityPrice(BigDecimal commodityPrice) {
        this.commodityPrice = commodityPrice;
    }

    public Integer getCommodityNum() {
        return commodityNum;
    }

    public void setCommodityNum(Integer commodityNum) {
        this.commodityNum = commodityNum;
    }

    public String getCommodityBarCode() {
        return commodityBarCode;
    }

    public void setCommodityBarCode(String commodityBarCode) {
        this.commodityBarCode = commodityBarCode;
    }

    public String getCommoditySpecs() {
        return commoditySpecs;
    }

    public void setCommoditySpecs(String commoditySpecs) {
        this.commoditySpecs = commoditySpecs;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getUnderlinedPrice() {
        return underlinedPrice;
    }

    public void setUnderlinedPrice(BigDecimal underlinedPrice) {
        this.underlinedPrice = underlinedPrice;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public Byte getCommodityTag() {
        return commodityTag;
    }

    public void setCommodityTag(Byte commodityTag) {
        this.commodityTag = commodityTag;
    }

    public Byte getBuyType() {
        return buyType;
    }

    public void setBuyType(Byte buyType) {
        this.buyType = buyType;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Byte getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Byte orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Byte getGiftType() {
        return giftType;
    }

    public void setGiftType(Byte giftType) {
        this.giftType = giftType;
    }

    public String getTrackNo() {
        return trackNo;
    }

    public void setTrackNo(String trackNo) {
        this.trackNo = trackNo;
    }
}